<!--// header //--> 
{include="../public/header"}
<style>
.the-legend {
    border-style: none;
    border-width: 0;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
}
.the-fieldset {
    border: 2px groove threedface #444;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}
</style>
    <!--主体内容-->
    <!--当前操作-->
    <div style="margin-left:65px; margin-right:65px; width:auto">
    <div class="row-fluid">
   	  <div class="span12">
        	<h2 style="margin:12px; color:#41516a">班级信息编辑</h2>
      </div>
    </div>		
    <!--当前操作-->
    <div class="row-fluid">
    	<div class="span12">
        <div class="row-fluid">
        <!--tab-->
        <div class="tabbable">
        <ul class="nav nav-tabs">
        <li><a href="/System/index"><font color="orange">课程列表</font></a></li>
		<li><a href="/System/index">课程新增</a></li>
		<li><a href="/System/index">员工列表</a></li>
		<li><a href="/System/index">员工新增</a></li>
		<li><a href="/System/index">班级列表</a></li>
		<li><a href="/System/index">班级新增</a></li>
		<li><a href="/System/index">权限管理</a></li>
		</ul>
            <div class="tab-content">
                <div class="tab-pane active" id="2">
                <form name="frm" method="post" action="/System/grdupdate">
		 <div class = 'form-horizontal well'>
		 	<fieldset class="well the-fieldset">
			<legend class="the-legend">班级信息</legend>
				<div class="row-fluid show-grid">
			      	<div class="span4">
					<label>班级名称
		    			<input type="text" name="gname" id="gname" value="{$grade.gname}"  /></label>
				</div>
			      	<div class="span4">
					<label>班主任
		    			<input type="text" name="gteacher" id="gteacher" value="{$grade.gteacher}"  /></label>	
				</div>
				</div>
                                <div class="row-fluid show-grid">
                                        <div class="span4">
                                                <label>开班时间
                                                <input type="text" name="gopen" id="gopen" value="{function="date('Y-m-d',$grade.gopen)"}" /></label>
                                        </div>
                                        <div class="span4">
                                                <label>上课时间
                                                <input type="text" name="gclass" id="gclass" value="{$grade.gclass}" /></label>
                                        </div>
                                        </div>
				<div class="row-fluid show-grid">
			      	<div class="span4">
					<label>其他备注
		    			<textarea name="gmemo">{$grade.gmemo}</textarea></label>	
				</div>
			      	<div class="span4">
					<label>状态
		    			<input type="radio" name="status" value="1" {if condition="$grade.status == 1"}checked{/if} />开班
                        <input type="radio" name="status" value="0" {if condition="$grade.status == 0"}checked{/if} />未开班
                        </label>	
				</div>
			    </div>     
				<div class="row-fluid show-grid">
			      	<div class="span4"></div>
			      	<div class="span4">
					<label>
					<input type="hidden" value="{$grade.id}" name="id" />
					<input type="submit" value="确认修改" />
					</label>	
				</div>
			    </div>     
    			</fieldset>
			</div>
			</form>
                </div>
        	</div>
      </div>
        <!--tab-->
        </div>
    </div>
    </div>
	<!--主体内容-->
<!--// footer //--> 
{include="../public/footer"}
